package com.example.photobrowser;

import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;


public class FilterActivity extends Activity implements OnItemClickListener{
		
		@Override
		public void onCreate(Bundle savedInstanceState){
			super.onCreate(savedInstanceState);
//			setContentView(R.layout.slide_menu);
			
//			ListView list = (ListView) findViewById(R.id.listview);
			
	    	List<String> messageList = new ArrayList<String>();
	        messageList.add("Belichtungszeit");
	        messageList.add("Brennweite");
	        messageList.add("Gr��e");
//	        if(messageList != null && timerList != null){
		        ArrayAdapter<String> adapterList = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, android.R.id.text1,messageList);	        
//				list.setAdapter(adapterList);
//				list.setOnItemClickListener(this);

//	        }
		}

		@Override
		public void onItemClick(AdapterView<?> parent, View view, int position, long rowid) {
			Log.d("Tag",""+ position);			
		}
}
